home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Shareware Grab Bag
/
Shareware Grab Bag.iso
/
007
/
jovept2.arc
/
RAWIO.ASM
< prev
next >
Wrap
Assembly Source File
|
1985-05-30
|
512b
|
38 lines
; raw i/o returns using ibm bios ints.
; k. mitchum 12/84.
include model.h
include prologue.h
public rawgetc, rawchkc
if @bigmodel
rawchkc proc far
else
rawchkc proc near
endif
mov ah,1
int 16h
jz rawchk1 ;if no character
mov ax,1
ret
rawchk1:
mov ax,0
ret
rawchkc endp
if @bigmodel
rawgetc proc far
else
rawgetc proc near
endif
mov ah,0
int 16h
ret
rawgetc endp
include epilogue.h
end